
public class desktop extends computer implements pluginable{
	boolean pluggedIn;
	desktop(boolean o, int s, String n, int no)
	{
		//Make sure to pass params. to super constructor (if params required)
		super(o, s, n, no);
	}
	
	public void turnOn()
	{
		on = true;
	}
	
	public void plugin()
	{
		pluggedIn = true;
	}
	public void unplug()
	{
		pluggedIn = false;
	}
	public void pluggedInQ()
	{
		System.out.println("Your computer is plugged in: " + pluggedIn);
	}
}
